package com.xintoucloud.pbs.dao;

import java.io.Serializable;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.xintoucloud.pbs.entity.DynamicNews;
import com.xintoucloud.pbs.model.DynamicNewsShowVo;


@Repository
public interface NewsManagementDao {
	DynamicNews getOne(int nid);
	List<DynamicNewsShowVo> list();
	Serializable add(DynamicNews d);
	boolean delete(int nid);
	void update(DynamicNews d);
	DynamicNewsShowVo getOneShowVo(int nid);
}
